package com.api.service.impl;

import com.api.entity.SystemUser;
import com.api.dao.SystemUserMapper;
import com.api.service.ISystemUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.hibernate.validator.constraints.pl.REGON;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author huzhaoxi
 * @since 2021-01-15
 */
@Service
public class SystemUserServiceImpl extends ServiceImpl<SystemUserMapper, SystemUser> implements ISystemUserService {

    @Resource
    SystemUserMapper userMapper;

    @Override
    public SystemUser userLogin(SystemUser user) {
        return userMapper.userLogin(user);
    }
}
